package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("tb_sku")
@Data
public class Sku implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private String id;
    private String sn;
    private String name;
    private Integer price;
    private Long num;
    private Long alertNum;
    private String image;
    private String images;
    private Long weight;
    private Date createTime;
    private Date updateTime;
    private String spuId;
    private Long categoryId;
    private String categoryName;
    private String brandName;
    private String spec;
    private Long saleNum;
    private Long commentNum;
    private String status;
}
